all:discovery registry
discovery:discoverer.cc
	g++ -o $@ $^ -std=c++17 -lspdlog -lgflags -lfmt -letcd-cpp-api -lcpprest
registry:registrant.cc
	g++ -o $@ $^ -std=c++17 -lspdlog -lgflags -lfmt -letcd-cpp-api -lcpprest

.PHONY:clean
clean:
	rm -f discovery registry